package ycl.system.res;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import ycl.common.base.entity.BaseEntity;
import ycl.common.models.BaseEntityRes;

/**
 * <p>
 * 权限返回体
 * </p>
 *
 * @author ycl
 * @since 2022-03-03 11:43:56
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_permission")
@ApiModel(value = "SysPermission对象", description = "权限返回体")
public class SysPermissionRes extends BaseEntityRes {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("权限名")
    private String name;

    @ApiModelProperty("菜单id")
    private Long menuId;

    @ApiModelProperty("状态，1正常，0禁用")
    private Boolean status;



}
